Skip to content

Handle serializing integers larger than 64bits. #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 17, 2023

Conversation

casperisfine
Copy link

BigNum are expected to be rare, so calling Integer#to_s while not super fast is fast enough and simpler than checking bounds.

Ref: #4

This only does the serialization part as it doesn't really have downsides. For the parsing part, we'll have to see if my patch is accepted upstream etc.

BigNum are expected to be rare, so calling `Integer#to_s` while not
super fast is fast enough and simpler than checking bounds.

Ref: jhawthorn#4
@byroot byroot merged commit c0e1970 into jhawthorn:main May 17, 2023
@casperisfine casperisfine deleted the generate-bignum branch May 17, 2023 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants